<!DOCTYPE html>
<html>
<head>
<#include "/backend/layouts/head.html" />
<#include "/backend/layouts/easyui_head.html" />
<#include "/backend/layouts/iframe_head.html" />
<#include "/backend/layouts/datetimepicker_head.html" />
<style>
.datagrid-cell, .datagrid-cell>span {
	font-size: 12px;
}
</style>
</head>
<body style="margin: 0; padding: 0;">
	<div class="table-title">主控制台用户列表</div>
	<div class="table-normal table-line" id="loading" style="">
		<table id="master-userlist" class="easyui-datagrid" style="width: 100%; font-size: 12px;" border="0"></table>
		<div style="float: left; margin: 24px 0 0 8px;" id="totalMessage"></div>
		<div id="master-pp" style="display: none;" class="easyui-pagination"></div>
	</div>
	<div id="model-action-toolbar" style="padding: 5px; height: auto;">
		<input type="hidden" name="pagination" value="1" />
		<div style="margin-bottom: 5px">
			<span style="display: inline-block; width: 260px;">
				<span style="display: inline-block; width: 88px; text-align: right;">用户名: </span>
				<input class="easyui-textbox" id="masterUsername" type="text" name="username" />
			</span>
			<span style="display: inline-block; width: 220px;">
				<span style="display: inline-block; width: 88px; text-align: right;">用户状态: </span>
				<select class="easyui-combobox" id="masterStatus" panelHeight="auto" style="width: 120px">
					<option value="-1">全部</option>
					<option value="1">开通</option>
					<!-- <option value="2">关闭</option> -->
					<option value="3">冻结</option>
					<!-- <option value="4">删除</option> -->
				</select>
			</span>
			<span style="display: inline-block; width: 180px;">
				<span style="display: inline-block; width: 88px; text-align: right;">排序: </span>
				<select class="easyui-combobox" id="masterOrderByString" panelHeight="auto" style="width: 80px">
					<option value="1">升序</option>
					<option value="2">降序</option>
				</select>
			</span>
			<span style="margin-left: 48px;">
				<a href="javascript:void(0);" class="easyui-linkbutton g-search" iconCls="icon-search">查询</a>
				<a href="javascript:void(0);" class="easyui-linkbutton g-reset">重置</a>
				<input type="hidden" name="pagination" value="1" />
			</span>
		</div>
	</div>
	<div id="editor" style="display: none;">
		<div class="append-loading">
			<div class="form-horizontal" style="padding-top: 24px;">
				<div class="form-group col-sm-12">
					<label class="fg-text control-label">用户ID</label>
					<div class="fg-input">
						<input type="text" name="id" class="form-control" disabled="disabled">
					</div>
				</div>
				<div class="form-group col-sm-12">
					<label class="fg-text control-label">用户名</label>
					<div class="fg-input">
						<input type="text" name="username" class="form-control" disabled="disabled">
					</div>
				</div>
				<div class="form-group col-sm-12">
					<label class="fg-text control-label">登录到站点</label>
					<div class="fg-input">
						<label class="radio-inline">
							<input type="radio" name="loginNode" value="0" />
							<span style="color: red;">禁止</span>
						</label>
						<label class="radio-inline">
							<input type="radio" name="loginNode" value="1" />
							<span style="color: green;">授权</span>
						</label>
					</div>
				</div>
				<div class="form-group col-sm-12">
					<label class="fg-text control-label">状态</label>
					<div class="fg-input">
						<select class="form-control" name="status">
							<option value="1">开通</option>
							<option value="3">冻结</option>
							<option value="4">删除</option>
						</select>
						<p style="color: blue; font-weight: bolder; margin: 0;">备注</p>
						<p style="margin: 0; color: green;">开通：正常使用！</p>
						<p style="margin: 0; color: purple;">冻结：后台登录拒绝！</p>
						<p style="margin: 0; color: red;">删除：用户不再使用！</p>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div id="reset-password" style="display: none;">
		<div class="append-loading">
			<div class="form-horizontal" style="padding-top: 24px;">
				<div class="form-group col-sm-12">
					<label class="fg-text control-label">用户ID</label>
					<div class="fg-input">
						<input type="text" name="id" class="form-control" disabled="disabled">
					</div>
				</div>
				<div class="form-group col-sm-12">
					<label class="fg-text control-label">用户名</label>
					<div class="fg-input">
						<input type="text" name="username" class="form-control" disabled="disabled">
					</div>
				</div>
				<div class="form-group col-sm-12">
					<label class="fg-text control-label">重置密码</label>
					<div class="fg-input">
						<input type="text" name="password" class="form-control" value="Ab123456" disabled="disabled">
						<p style="margin: 0;">重置的密码固定 Ab12345，修改密码可登陆后台自行修改！</p>
					</div>
				</div>
			</div>
		</div>
	</div>
	<script type="text/javascript" src="/static/js/backend/mastermanage/userlist.js"></script>
</body>
</html>